package blue.mqtt4j.server.config;

/**
 * @author Jin Zheng
 * @since 2020-03-22
 */
public class ConfigItem
{
	public static final String PORT = "port";
	public static final int PORT_VALUE = 1883;

	public static final String USER_NAME = "username";
	public static final String USER_NAME_VALUE = "";
	public static final String PASSWORD = "password";
	public static final String PASSWORD_VALUE = "";

	public static final String NETTY_THREAD = "netty_thread";
	public static final int NETTY_THREAD_VALUE = Runtime.getRuntime().availableProcessors();
	public static final String SESSION_HEARTBEAT = "session_heartbeat";
	public static final int SESSION_HEARTBEAT_VALUE = 3;
	public static final String SESSION_TIMEOUT = "session_timeout";
	public static final int SESSION_TIMEOUT_VALUE = 10;

	private ConfigItem()
	{
	}
}
